<template>
  <div>
    <li v-for="(path, index) in urlList" :key="'ul1' + index">
      <button>{{ path.name }}</button>
    </li>
  </div>
</template>

<script>
export default {
  data() {
    return {
      urlList: [
        { name: "goodsCart", path: "goodsCart" },
        { name: "com1", path: "com1" },
      ],
    };
  },
};
</script>

<style>
</style>